<div class="row-fluid listcontent">
    <div class="span12">
        <div class="portlet box grey">
            <div class="portlet-title">
                <div class="caption"><i class="icon-cogs"></i>举报列表</div>
                                <div class="actions" id="orderaline">
                                    <div class="btn-group">
                                        <a class="btn blue" href="#" data-toggle="dropdown">
                                            <i class="icon-cogs"></i>&nbsp;&nbsp;操作
                                            <i class="icon-angle-down"></i>
                                        </a>
                                        <ul class="dropdown-menu pull-right">
                                            <li><a id="info_delete"><i class="icon-trash"></i>删除</a></li>
                                        </ul>
                                    </div>
                                </div>
            </div>
            <div class="portlet-body">
                <div class="dataTables_wrapper form-inline">
                    <div class="row-fluid">
                        <div class="span12">
                            <form id="searchform" action="{$action}" method="post">
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left"><label>
                                        <input type="button" class="btn blue searchsubmit" value="搜索:  "/>
                                        <input type="text" name="search[]" placeholder="昵称|消息ID|ID"
                                               aria-controls="sample_2" class="m-wrap"
                                               value="{$search[0]?$search[0]:''}" style="height:20px"/></label>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <label>
                                        <input type="button" class="btn blue searchsubmit" value="开始时间"/>
                                        <input type="text" name="search[]"
                                               aria-controls="sample_2" class="m-wrap" value="{$search[1]?$search[1]:''}" style="height:20px"  onclick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                    </label>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <label>
                                        <input type="button" class="btn blue searchsubmit" value="结束时间:"/>
                                        <input type="text" name="search[]" placeholder=""
                                               aria-controls="sample_2" class="m-wrap" value="{$search[2]?$search[2]:''}" style="height:20px"   onclick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                    </label>
                                </div>
                            </form>
                        </div>
                    </div>
                    <table id="basicinfo" class="table table-hover table-bordered">
                        <thead>
                        <th style="width:8px;"><input type="checkbox"/></th>
                        <th>序号</th>
                        <th>ID</th>
                        <th>举报人昵称</th>
                        <th>举报人手机</th>
                        <th>消息ID</th>
                        <th>被举报人昵称</th>
                        <th>被举报人手机</th>
                        <th>所属分类</th>
                        <th>举报时间</th>
                        <th style="width:110px;">操作</th>
                        </thead>
                        <tbody>
                        {if(count($list)>0)}
                        {volist name='list' id='val' k='key'}
                        <tr class="odd gradeX ">
                            <td><input type="checkbox" class="checkboxes" name="id" value="{$val.report_id}"/></td>
                            <td>{:xuHao($key,$num)}</td>
                            <td>{$val.report_id}</td>
                            <td>{$val.user_username}</td>
                            <td>{$val.user_phone}</td>
                            <td>{$val.report_aid}</td>
                            <td>{$val.user_name1}</td>
                            <td>{$val.phone1}</td>
                            <td>{$val.report_name}</td>
                            <td>{$val.report_time}</td>
                            <td>
                                {if $val['report_status']==1}
                                <a class="btn mini blue examine" style="margin-top:5px" data-id='{$val.report_id}'><span>审核</span></a>
                                {/if}
                                <a class="btn mini purple detail" style="margin-top:5px" data-id='{$val.report_id}'><span>查看</span></a>
                            </td>
                        </tr>
                        {/volist}
                        {else/}
                        <tr>
                            <td colspan="16"><span style="margin-left: 50px">暂无数据</span></td>
                        </tr>
                        {/if}
                        </tbody>
                    </table>
                    <input type="hidden" name="page" value="{$page?$page:''}">
                </div>
            </div>
        </div>
        {if(!empty($list))}
        {$list->render()}
        {/if}
    </div>
</div>